projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0ee99a
)
* src/xselect.c (x_convert_selection): Initialize a pointer.
author
Chong Yidong
<cyd@gnu.org>
Tue, 24 Apr 2012 02:58:26 +0000
(10:58 +0800)
committer
Chong Yidong
<cyd@gnu.org>
Tue, 24 Apr 2012 02:58:26 +0000
(10:58 +0800)
Fixes: debbugs:11315
src/ChangeLog
patch
|
blob
|
history
src/xselect.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 906d17535c6ef8aef115e169fa6f326bf6c6d6e5..8c80a24b5806d5f66e8811eecc05e15b338f8e8f 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,7
@@
+2012-04-24 Chong Yidong <cyd@gnu.org>
+
+ * xselect.c (x_convert_selection): Initialize a pointer (Bug#11315).
+
2012-04-23 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (pos_visible_p): If the window start position is beyond
diff --git
a/src/xselect.c
b/src/xselect.c
index 173cf78bdaac9d54b0a59aab68243fb0ed03e6d8..15ce8d487fa04c798f2af9c5e64de10d9c93d4d5 100644
(file)
--- a/
src/xselect.c
+++ b/
src/xselect.c
@@
-931,6
+931,7
@@
x_convert_selection (struct input_event *event, Lisp_Object selection_symbol,
/* Otherwise, record the converted selection to binary. */
cs = xmalloc (sizeof (struct selection_data));
+ cs->data = NULL;
cs->nofree = 1;
cs->property = property;
cs->wait_object = NULL;